package spm.entities;

/**
 * This is a persistent class used by Hibernate. The class represents a one of
 * the object used in the ACL.
 * 
 * @author Evgeny Ryzhkov
 * 
 * $Id: BusinessObject.java 19 2006-12-05 15:27:07Z evgeny.ryzhkov $
 * 
 */
public class BusinessObject {

	/**
	 * The unique ID of the business object.
	 */
	private Long id;

	/**
	 * The key in the resource file for the business object name.
	 */
	private String businessObjectNameKey;

	/**
	 * Constructor without parameters. It is required by Hibernate.
	 */
	public BusinessObject() {
	}

	/**
	 * @return Returns the businessObjectName.
	 */
	public String getBusinessObjectNameKey() {
		return businessObjectNameKey;
	}

	/**
	 * @param businessObjectName
	 *            The businessObjectName to set.
	 * 
	 */
	public void setBusinessObjectName(String businessObjectNameKey) {
		this.businessObjectNameKey = businessObjectNameKey;
	}

	/**
	 * @return Returns the id.
	 */
	public Long getId() {
		return id;
	}

	/**
	 * @param id
	 *            The id to set.
	 */
	public void setId(Long id) {
		this.id = id;
	}

}
